from django.contrib import admin
from simple_history.admin import SimpleHistoryAdmin
from .models import User, Organization, Role, Permission, DictType, Dict, File
# Register your models here.
admin.site.register(User)               #用户信息表
admin.site.register(Organization)       #组织架构表
admin.site.register(Role)               #角色
admin.site.register(Permission)         #功能权限表
admin.site.register(DictType)
admin.site.register(Dict, SimpleHistoryAdmin)
admin.site.register(File)               #文件表